//
//  CompanyPrivacySettingFilterViewController.h
//  Btpin
//
//  Created by Vic on 2019/3/30.
//  Copyright © 2019 Vic. All rights reserved.
//

#import "BaseViewController.h"

typedef NS_OPTIONS(NSUInteger, CompanyPrivacySettingFilterType) {
    CompanyPrivacySettingFilterTypeOfDefault    =       0,
    CompanyPrivacySettingFilterTypeOfLook       =  1 << 1,  // 企业-谁能看我
    CompanyPrivacySettingFilterTypeOfPush       =  1 << 2,  // 企业-推送给谁
    CompanyPrivacySettingFilterTypeOfVideo      =  1 << 3,  // 企业-谁能视频
    CompanyPrivacySettingFilterTypeOfName       =  1 << 4,  // 企业-显示名字
    PersonalPrivacySettingFilterTypeOfLook      =  1 << 5,  // 个人-谁能看我
    PersonalPrivacySettingFilterTypeOfPush       =  1 << 6,  // 个人-推送给谁
    PersonalPrivacySettingFilterTypeOfName       =  1 << 7,  // 个人-显示名字
    PersonalPrivacySettingFilterTypeOfBlickList  =  1 << 8   // 个人-屏蔽
};

@protocol CompanyPrivacySettingFilterViewControllerDelegate <NSObject>
@optional
- (void)companyPrivacySettingFilterViewControllerType:(CompanyPrivacySettingFilterType)type info:(NSString *_Nullable)info selectType:(NSString *_Nullable)typestring selectArray:(NSArray *_Nullable)array;
@end

NS_ASSUME_NONNULL_BEGIN

@interface CompanyPrivacySettingFilterViewController : BaseViewController

@property (nonatomic, weak) id<CompanyPrivacySettingFilterViewControllerDelegate>delegate;

@property (nonatomic, assign) CompanyPrivacySettingFilterType type;
@property (nonatomic, strong) NSString *selectType;
@property (nonatomic, strong) NSArray *itemDataArray;
@property (nonatomic, strong) NSArray *pushBanDataArray;
@property (nonatomic, copy) NSString *display_name;

//个人还是企业 --- 为了不影响原逻辑，新增的判断
@property (nonatomic, assign) BOOL isPerson;

@end

NS_ASSUME_NONNULL_END
